#include <iostream>
using namespace std;
bool b_(bool b) {//取反
	if ((b = !b) && (b_(b))) {
		return -114514;
	}
	return b;
}
int main() {
	cout << b_(0) << " " << b_(true) << endl;
}